from datetime import datetime, date print(date.today().replace(day=1))
from datetime import datetime datetime.today().replace(day=1)
oldest = min(datetimes)